package com.usian.feign;

import com.usian.pojo.User;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@org.springframework.cloud.openfeign.FeignClient(value = "nacos-provider")
public interface FeignClient {

    @RequestMapping("/findById/{id}")
    public User findById(@PathVariable int id);

}
